/**
 * 
 */
package com.learn.spring.ch2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author vijikamal
 *
 */
public class HelloWorldSpringDI {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ApplicationContext appContext = new ClassPathXmlApplicationContext("app-context.xml");
		MessageRenderer mr = appContext.getBean("renderer",MessageRenderer.class);
		mr.render();
	}

}
